//
//  HttpUtil.h
//  网络请求(GET&POST) -> TZJ
//
//  Created by My Mac on 2017/4/17.
//  Copyright © 2017年 My Mac. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HttpUtil : NSObject

+(void)requestWithURLString:(NSString *_Nullable)urlString httpMethod:(NSString *_Nullable)method httpBody:(NSMutableDictionary *_Nullable)httpBody handler:(void(^_Nullable)(id _Nullable value)) value;
/*
 urlString:网络连接的地址
 method:网络连接请求方式
 httpBody:此参数为“请求体”在GET请求时为 nil;在POST请求时,填相应的需要的参数
 value:传入回调的值
 */
@end
